package com.cloudspace.jindun.model;

/**
 * User: Cloud(32325596@qq.com)
 * Date: 2017-01-03
 * Time: 13:53
 * project: DemoTest
 * Describe 实体类
 */
public class TokenBean {

    /**
     * status : 200
     * msg : OK
     * data : {"code":200,"token":"dLmskBXoZvLqGaSNoqgQhp5PBcJF8N8iMlXuQ52UNiKpXqLPxNXHrC0jSy0TFZJNb6Ugtym0qy/6s7+ULw1N4Q==","userId":"100","errorMessage":null}
     */

    private int status;
    private String msg;
    /**
     * code : 200
     * token : dLmskBXoZvLqGaSNoqgQhp5PBcJF8N8iMlXuQ52UNiKpXqLPxNXHrC0jSy0TFZJNb6Ugtym0qy/6s7+ULw1N4Q==
     * userId : 100
     * errorMessage : null
     */

    private DataBean data;

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        private int code;
        private String token;
        private String userId;
        private Object errorMessage;

        public int getCode() {
            return code;
        }

        public void setCode(int code) {
            this.code = code;
        }

        public String getToken() {
            return token;
        }

        public void setToken(String token) {
            this.token = token;
        }

        public String getUserId() {
            return userId;
        }

        public void setUserId(String userId) {
            this.userId = userId;
        }

        public Object getErrorMessage() {
            return errorMessage;
        }

        public void setErrorMessage(Object errorMessage) {
            this.errorMessage = errorMessage;
        }
    }
}
